<!DOCTYPE html>
<html  lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script th:inline="javascript">

    var xx=[[${data[0].monthes}]]


    alert(xx)
</script>
</body>
</html>